# 定义一个计数器
row = 0
# 开始循环
while row < 5:
    column = 0
    while column <= row:
        print("*", end="")
        column += 1
    print("")
    row += 1
